import request from '@/utils/request'
export default {
   list(){
     return request({
       method:'get',
       url:'/admin/core/integralGrade/list'
     })
   },
   removeById(id) {
    return request({
        url: `/admin/core/integralGrade/remove/${id}`,
        method: 'delete'
    })
  },
  save(integralGrade) {
    return request({
        url: '/admin/core/integralGrade/save',
        method: 'post',
        data: integralGrade
    })
},
getById(id) {
  return request({
      url: `/admin/core/integralGrade/get/${id}`,
      method: 'get'
  })
},
updateById(integralGrade) {
  return request({
    url: '/admin/core/integralGrade/update',
    method: 'put',
    data: integralGrade
  })
}
}